package com.jiang.gzjp.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import com.jiang.gzjp.struts.vo.Dept;

/** 
 * MyEclipse Struts
 * Creation date: 02-28-2019
 * 
 * XDoclet definition:
 * @struts.form name="deptForm"
 */
public class DeptForm extends ActionForm {

	private Dept dept = new Dept();
	private String status;
	/**
	 * 
	 */
	private static final long serialVersionUID = -4712656108000490082L;

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
		
//		System.out.println(this.status2);
		// 本质上是根据调用什么方法进行什么验证
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}